package producer.message;

import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.MessageChannel;
import org.springframework.stereotype.Component;

/**
 * @author jack
 * @data 2020/6/15 3:00 下午
 */
@Component
public interface SinkSender {

    String LIST_AREA = "listArea";
    String AREA = "area";

    @Output(SinkSender.LIST_AREA)
    MessageChannel outputListArea();

    @Output(SinkSender.AREA)
    MessageChannel outputArea();

}
